package project.vip.services;

import java.util.List;

import kernel.web.Page;
import project.vip.po.Inv;

public interface AdminInvService {

    public List<Inv> getInvList4openId(String toOpenId);

    /**
     * @param toPhone
     * @param isDeposit 是否充值
     * @return
     */
    public List<Inv> getInvList(String toPhone,boolean isDeposit);

	/**
	 * 通过toPhone获得邀请list
	 * @param toPhone
	 * @return
	 */
	public List<Inv> getInvList(String toPhone);
	/**
	 * 通过fromOpenId AND fromPhone获得邀请list
	 * @return
	 */
	public List<Inv> getInvList(String fromOpenId,String fromPhone);
    public Page pagedQuery(int pageNo, int pageSize,String fromPhone,String fromOpenId);


    public void save(Inv entity);

    public void update(Inv entity);
}
